//[id].js 也是定死的 //用[]包裹的表示是动态路由
import React from 'react';

class UserDetail extends React.Component{
  render(){
    return (
      <div>
        <p>ID: {this.props.match.params.id}</p>
      </div>
    )
  }
}

export default UserDetail;
